import request from '@/router/axios';

export const getSmsCode = (row) => {
  return request({
    url: '/api/rb-merchant/smsCode',
    method: 'post',
    data: row
  })
}

export const submit = (row) => {
  return request({
    url: '/api/blade-user/register/password',
    method: 'post',
    data: row
  })
}

export const getSmsCodeInner = (row) => {
  return request({
    url: '/api/rb-merchant/smsCodeInner',
    method: 'post',
    data: row
  })
}

export const updatePayPwd = (row) => {
  return request({
    url: '/api/blade-user/updatePayPwd',
    method: 'post',
    data: row
  })
}

export const userHasInfo = () => {
  return request({
    url: '/api/blade-user/userHasInfo',
    method: 'get'
  })
}